package com.anolesoft.yr.mbus.pre.mapper;

import com.anolesoft.yr.mbus.pre.dto.PreOrderServiceOnlySaveDTO;
import com.anolesoft.yr.mbus.pre.sql.PreOrderServiceOnlySQL;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PreOrderServiceOnlyMapper {

    //新增报价单单一服务内容
    @Insert(PreOrderServiceOnlySQL.SAVE_PRE_ORDER_SERVICE_ONLY)
    int savePreOrderServiceOnly(PreOrderServiceOnlySaveDTO preOrderServiceOnlySaveDTO);

    //删除报价单服务
    @Update(PreOrderServiceOnlySQL.DELETE_PRE_ORDER_SERVICE_ONLY)
    int deletePreOrderServiceOnly(String preOrderUid);

}
